#ifndef __AT_EXECUTE_H__
#define __AT_EXECUTE_H__

#include "config.h"
#include "at_command.h"

bool AT_Execute_Handler(String cmd, at_cmd_parse_t *parse_cmd);
bool AT_Ok_Handler(at_cmd_parse_t *parse_cmd);
bool AT_Debug_Handler(at_cmd_parse_t *parse_cmd);

/*********************  WIFI命令   *******************/
bool AT_ScanNetwork_Handler(at_cmd_parse_t *parse_cmd);
bool AT_ConnectNetwork_Handler(at_cmd_parse_t *parse_cmd);
bool AT_DisconnectNetwork_Handler(at_cmd_parse_t *parse_cmd);
bool AT_IsconnectNetwork_Handler(at_cmd_parse_t *parse_cmd);

/*********************  MQTT命令   *******************/
bool AT_ConnectMqtt_Handler(at_cmd_parse_t *parse_cmd);
bool AT_DisconnectMqtt_Handler(at_cmd_parse_t *parse_cmd);
bool AT_AccountMqtt_Handler(at_cmd_parse_t *parse_cmd);
bool AT_PublicMqtt_Handler(at_cmd_parse_t *parse_cmd);
bool AT_SubscribeMqtt_Handler(at_cmd_parse_t *parse_cmd);
bool AT_UnsubscribeMqtt_Handler(at_cmd_parse_t *parse_cmd);

/*********************  SPIFFS命令   *******************/
bool AT_LittleFSFormat_Handler(at_cmd_parse_t *parse_cmd);
bool AT_LittleFSWrite_Handler(at_cmd_parse_t *parse_cmd);
bool AT_LittleFSRead_Handler(at_cmd_parse_t *parse_cmd);

#endif /* __AT_EXECUTE_H__ */